function HeTiFn(){
	this.box = document.getElementById('guige');
	this.divs = guige.getElementsByTagName('div');
	this.zuo = document.getElementsByClassName('zzuo');
	this.shang = document.getElementsByClassName('sshang');
	this.xia = document.getElementsByClassName('xxia');
	this.you = document.getElementsByClassName('yyou');
}
HeTiFn.prototype.init = function(){
	var that = this;
	for (var i = 0; i < this.divs.length; i++) {
		this.divs[i].index = i;
		this.divs[i].onmouseover = function(){
			that.zuo[this.index].style.left = "310px";
			that.you[this.index].style.right = "310px";
			that.shang[this.index].style.top = "235px";
			that.xia[this.index].style.bottom = "400px";
			that.zuo[this.index].style.opacity = "0.7";
			that.you[this.index].style.opacity = "0.7";
			that.shang[this.index].style.opacity = "0.7";
			that.xia[this.index].style.opacity = "0.7";
			that.zuo[this.index].style.backgroundColor = "gold";
			that.you[this.index].style.backgroundColor = "gold";
			that.shang[this.index].style.backgroundColor = "gold";
			that.xia[this.index].style.backgroundColor = "gold";
		}
		this.divs[i].onmouseout = function(){
			that.zuo[this.index].style.left = "0px";
			that.you[this.index].style.right = "0px";
			that.shang[this.index].style.top = "0px";
			that.xia[this.index].style.bottom = "173px";
			that.zuo[this.index].style.opacity = "1";
			that.you[this.index].style.opacity = "1";
			that.shang[this.index].style.opacity = "1";
			that.xia[this.index].style.opacity = "1";
			that.zuo[this.index].style.backgroundColor = "#c93432";
			that.you[this.index].style.backgroundColor = "#c93432";
			that.shang[this.index].style.backgroundColor = "#c93432";
			that.xia[this.index].style.backgroundColor = "#c93432";
		}
	}
}
var mmp = new HeTiFn();
	mmp.init();